﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ly2
{
    enum cook 
    {
        酸辣土豆丝,
        蛋炒饭,
        布丁,
        草莓蛋糕,
        番茄炒蛋,
        干锅牛蛙
    }
    class CookRobot : Robot
    {
        public cook ck { get; set; }

        public CookRobot(string name,cook ck)
            :base(name)
        {
            this.ck = ck;
        }
        public CookRobot()
        {
        }
        public override void Working()
        {
            Console.WriteLine("机器人类型：{0},菜名：{1}",base.name,this.ck);
        }
    }
}
